﻿using DataModel;
using A_ReferenceCodes.Services.Admin.RefCodes;

namespace A_ReferenceCodes
{
    public static class ServiceConfig
    {
        const string RefCodesLocation = "../Services/Admin/RefCodesService.svc";

        public static RefCodesServiceClient NewRefCodesService()
        {
            return ServiceLoader.LoadService(RefCodesLocation, (B, E) => new RefCodesServiceClient(B, E));
        }
    }
}
